package com.fruit.pojo.rights;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

public class UserGoodsRight {
	//权益ID
    private long id;
    //截止使用日期，格式：YYYY-MM-dd HH:mm:ss
    private String endUseTime;
    //创建时间，格式：YYYY-MM-dd HH:mm:ss
    private String createTime;
    //商品名
    private String goodsName;
    //商品缩略图片
    private String thumb;
    //商品白天图片
    private String thumbDay;
    //商品黑夜图片
    private String thumbNight;
    //基地ID
    private Long baseId;
    //基地名称
    private String baseName;
    //预计产量
    private BigDecimal expectHarvest;
    //总量
    private long num;
    //订单ID，用来供前端查询商品详情
    private long orderGoodsId;
    //植株年龄
    private long age;
    //预计收获时间，格式：YYYY-MM-dd HH:mm:ss
    private String expectHarvestTime;
    //是否过期，true表示过期
    private boolean expire = false;
    //收益信息
    private List<UserGoodsRightsHarvest> userGoodsRightsHarvests;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getEndUseTime() {
		return endUseTime;
	}
	public void setEndUseTime(String endUseTime) {
		this.endUseTime = endUseTime;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getGoodsName() {
		return goodsName;
	}
	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	public String getThumb() {
		return thumb;
	}
	public void setThumb(String thumb) {
		this.thumb = thumb;
	}
	
	public String getThumbDay() {
		return thumbDay;
	}
	public void setThumbDay(String thumbDay) {
		this.thumbDay = thumbDay;
	}
	public String getThumbNight() {
		return thumbNight;
	}
	public void setThumbNight(String thumbNight) {
		this.thumbNight = thumbNight;
	}
	public Long getBaseId() {
		return baseId;
	}
	public void setBaseId(Long baseId) {
		this.baseId = baseId;
	}
	public String getBaseName() {
		return baseName;
	}
	public void setBaseName(String baseName) {
		this.baseName = baseName;
	}
	public BigDecimal getExpectHarvest() {
		return expectHarvest;
	}
	public void setExpectHarvest(BigDecimal expectHarvest) {
		this.expectHarvest = expectHarvest;
	}
	public long getNum() {
		return num;
	}
	public void setNum(long num) {
		this.num = num;
	}
	public long getOrderGoodsId() {
		return orderGoodsId;
	}
	public void setOrderGoodsId(long orderGoodsId) {
		this.orderGoodsId = orderGoodsId;
	}
	public long getAge() {
		return age;
	}
	public void setAge(long age) {
		this.age = age;
	}
	public String getExpectHarvestTime() {
		return expectHarvestTime;
	}
	public void setExpectHarvestTime(String expectHarvestTime) {
		this.expectHarvestTime = expectHarvestTime;
	}
	public boolean isExpire() {
		return expire;
	}
	public void setExpire(boolean expire) {
		this.expire = expire;
	}
	public List<UserGoodsRightsHarvest> getUserGoodsRightsHarvests() {
		return userGoodsRightsHarvests;
	}
	public void setUserGoodsRightsHarvests(List<UserGoodsRightsHarvest> userGoodsRightsHarvests) {
		this.userGoodsRightsHarvests = userGoodsRightsHarvests;
	}
    
    
}
